package guowenlong.golf.ui.personal.setting;

import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import guowenlong.golf.R;

/**
 * des   : 描述 author: Administrator email : guowenlong20000@gmail.com time  : 2017年02月13日 下午 12:15.
 */

public class SettingActivity extends AppCompatActivity {

  @BindView(R.id.tv_back)
  TextView tvBack;
  @BindView(R.id.textView)
  TextView textView;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    restoreActionBar();
    setContentView(R.layout.activity_setting);
    ButterKnife.bind(this);
  }

  public void restoreActionBar() {
    ActionBar actionBar = getSupportActionBar();
    actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
    actionBar.hide();
    actionBar.setDisplayShowTitleEnabled(false);
  }

  @OnClick(R.id.tv_back)
  public void onClick() {
    finish();
  }
}